package com.amsp.oa.oademo.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

@Data
@TableName("renew_contract_notice")
@ApiModel(value = "RenewContractNotice对象", description = "续订劳动合同通知书")
public class RenewContractNotice {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "员工姓名")
    private String applicant;

    @ApiModelProperty(value = "身份证号码")
    private String idNumber;

    @ApiModelProperty(value = "合同到期日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date contractEndDate;

    @ApiModelProperty(value = "续签开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date renewStartDate;

    @ApiModelProperty(value = "续签结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date renewEndDate;

    @ApiModelProperty(value = "回复截止日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date replyDeadline;

    @ApiModelProperty(value = "是否同意续签")
    private String isAgreeRenew;

    @ApiModelProperty(value = "不同意续签理由")
    private String disagreeReason;

    @ApiModelProperty(value = "其他意见")
    private String otherOpinions;

    @ApiModelProperty(value = "员工签名")
    private String employeeSignature;

    @ApiModelProperty(value = "通知日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date noticeDate;

    @ApiModelProperty(value = "回复日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date replyDate;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;

    @TableLogic
    @ApiModelProperty(value = "是否删除")
    private Boolean isDeleted;
}